package com.mingqijia.gassafety.webserver.response.client;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


/**
 * @author guoliang.lao
 * @version 1.0.0
 * @ClassName AlertLogResponse.java
 * @Description 报警记录返回
 * @createTime 2022年03月08日
 */
@Data
public class ClientAlertRes {

    @ApiModelProperty("设备号")
    private String imei;

    @ApiModelProperty("事件时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date eventTime;

    @ApiModelProperty("事件类型")
    private String equipmentManufacturer;

    @ApiModelProperty("事件记录")
    private String eventInfo;

    @ApiModelProperty("报警时长")
    private String warnDuration;
}
